package com.javaPattern.Builder;

public class Director {
	Builder builder;
	
	public Director(Builder builder){
		this.builder = builder;
	}
	
	public void buildRoom() {
		System.out.println("造房子");
		
		builder.builderDoor();
		builder.builderFloor();
		builder.builderWindow();
	
	}
}